Ext.define('PJ.view.registrationmanagement.SignUpEdit', {
    extend: 'AM.default.DefaultWindowForm',
    requires: ['PJ.view.registrationmanagement.SignUpUintAddFrame'],
    
    modal: true,// 开启不允许点击其他组件
    frame: true,
    notEdit: true,

    initComponent: function(){
    	var me = this;
		me.items = [{
			xtype: "container",
			layout: 'column',
			collapsible: false, //显示三角
			items:[{
				xtype: 'suChooseUserFrame',
				padding: '0 0 5 0',
				columnWidth: 1,
				deptId: me.deptId,
				openState:me.openState,
				classId:me.classId
			}]
		}];
        me.buttons = [{
            text: '关闭',
            scope: this,
            handler: function(button){
            	button.up('window').close();
            }
        }];
        me.callParent(arguments);
    },
    listeners: {
    	close: function(){
    		this.grid.store.load();
    	}
    }
});
